package com.redoor.app.stake.workflow.model;

/**
 * Created by wangjunlei on 2018/1/24.
 */
public class WorkFlowRedisConstants {


    public static final Long REDIS_OVER_TIME_MIN = 1000 * 60 * 60L;
    public static final Long REDIS_OVER_TIME_HOUR = 1000 * 60 * 60L;
    public static final Long REDIS_OVER_TIME_DAY = 1000 * 60 * 60 * 24L;

    //成功状态
    public static final int SUCCESS_STATUS=1000;

    public static final int SERVICE_DEL_STATUS=1001;
    //已完成工单状态
    public static final int WORKORDER_STATUS=1005;

    public static final int REVIEW_STATUS               = 10000; // 审核的状态
    public static final int REVIEW_STATUS_APPLYING      = REVIEW_STATUS + 1;    //审核中
    public static final int REVIEW_STATUS_ACCEPT        = REVIEW_STATUS + 2;    //已通过
    public static final int REVIEW_STATUS_REJECT        = REVIEW_STATUS + 4;    //已拒绝
    public static final int REVIEW_STATUS_FINISH        = REVIEW_STATUS + 5;    //已结束

    //提醒工单REDIS前缀
    public static final String REDIS_REMIND_WORKORDER_PRE = "REMIND_WORKORDER_LIST";
    //详情工单REDIS前缀
    public static final String REDIS_WORKORDER_PRE = "WORKORDER_LIST";
}
